package com.bluesky.plum.uimodels.standard.components.containers.form.commonForms;

import com.bluesky.plum.richdomain.RichDomainMethod;
import com.bluesky.plum.uimodels.standard.StandardUIComponentType;
import com.bluesky.plum.uimodels.standard.UIComponentBuilder;
import com.bluesky.plum.uimodels.standard.components.containers.form.Form;
import com.bluesky.plum.uimodels.standard.components.containers.form.FormBuilder;

public class SimpleFormBuilder implements FormBuilder {
	@Override
	public Form createForm(final UIComponentBuilder uiComponentBuilder,
			final RichDomainMethod rdm) {

		// create a blank form firstly
		Form form = (Form) uiComponentBuilder
				.createNonFieldComponent(StandardUIComponentType.Form);

		
		return form;
	}
}
